package com.yuju.group.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yuju.common.core.dao.IBaseDao;
import com.yuju.common.core.service.AbstractBaseService;
import com.yuju.group.dao.IGrpParamDao;
import com.yuju.group.dao.entity.GrpParam;
import com.yuju.group.dao.entity.GrpParamKey;
import com.yuju.group.model.GrpParamModel;
import com.yuju.group.service.IGrpParamService;

@Service
public class GrpParamServiceImpl extends AbstractBaseService<GrpParamModel,GrpParam,GrpParamKey> implements IGrpParamService{
	@Autowired
	private IGrpParamDao grpParamDao;
	
	@Override
	public IBaseDao<GrpParamModel,GrpParam,GrpParamKey> getDao() {
		// TODO Auto-generated method stub
		return grpParamDao;
	}
	@Override
	public int save(GrpParamModel grpParamModel){
		return this.getDao().saveSelective(grpParamModel);
	}
}
